package drds.binlog.store;


import drds.binlog.common.Authors;
import drds.binlog.common.position.PositionRange;
import drds.common.Author;

import java.util.ArrayList;
import java.util.List;

/**
 * 代表一组数据对象的集合
 */
@Author(name = Authors.LI_YANG)
public class Events<Event>
{
    private PositionRange positionRange = new PositionRange();
    private List<Event> eventList = new ArrayList<Event>();

    public List<Event> getEventList()
    {
        return eventList;
    }

    public void setEventList(List<Event> eventList)
    {
        this.eventList = eventList;
    }

    public PositionRange getPositionRange()
    {
        return positionRange;
    }

    public void setPositionRange(PositionRange positionRange)
    {
        this.positionRange = positionRange;
    }


}
